﻿using WeiTap.Validator.Internal;
namespace WeiTap.Validator
{
    public class ValidationContext
    {
        public PropertyChain PropertyChain { get; private set; }
        public object InstanceToValidate { get; private set; }
        public IValidatorSelector Selector { get; private set; }
        public virtual bool IsChildContext { get; set; }

        public ValidationContext(object instance)
            :this(instance,new PropertyChain(),ValidatorOptions.ValidatorSelectors.DefaultValidatorSelectorFactory())
        {

        }
        public ValidationContext(object instance, PropertyChain propertyChain, IValidatorSelector validatorSelector) {

        }
        
    }

}